package edu.zju.gis.dbfg.server.service.impl;

import edu.zju.gis.dbfg.common.base.BaseServiceImpl;
import edu.zju.gis.dbfg.server.mapper.DepartmentMapper;
import edu.zju.gis.dbfg.server.model.Department;
import edu.zju.gis.dbfg.server.service.DepartmentService;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class DepartmentServiceImpl extends BaseServiceImpl<DepartmentMapper, Department, String> implements DepartmentService {
    @Override
    public List<Department> selectAll(){
        return mapper.search();
    }
}
